:root {
  --custom-font: 'Cairo', sans-serif;
  --secondary-font: 'Poppins', sans-serif;
  --primary-color: #4e75a8;
  --secondary-color: #201D24;
  --thirds-color: rgba(53, 53, 53, 0.821);
  --font-color: #fff;
  --table-button-color: rgba(93, 93, 93, 0.924);
  --add-button: rgba(9, 109, 9, 0.622);
  --clear-button: rgba(93, 93, 93, 0.622);
  --update-button: rgba(42, 42, 249, 0.622);
  --delete-button: rgba(164, 24, 24, 0.622);
  --btn1-card-color: #fdfdfdce;
  --btn2-card-color: #FFE79B;
  --btn3-card-color: #07396b;
  --btn4-card-color: #DD58D6;
}

* {
  padding: 0px;
  margin: 0px;
}

body {
  font-family: var(--custom-font);
  font-weight: 600;
  ;
}

h4 {
  padding: 10px;

}

/* starting index page */


/* style of img bord*/
.bord_img {

  /*end*/
  border: solid 1px black;
  height: 100%;
  width: 100%;
}


/*  end in index page*/
.coutnt {
  margin-top: 80px;
}


.form-control {

  margin-top: 10px;
  height: 80%;
  /* border-radius: 30px !important; */
  padding: 8px;
  border: none !important;
  border-bottom: solid 2px var(--btn3-card-color) !important;


}

label {
  padding: 12px;
  margin: 10px;
  color: var(--btn3-card-color);
}

.form-group {
  display: flex;
}

.navbar-one {
  border-bottom: solid 3px var(--btn3-card-color);
}

.form-control:hover:focus-visible {
  border-color: var(--btn4-card-color);
  box-shadow: 5px 5px var(--btn3-card-color);
  border-color: transparent;

}

#navbarNav {
  justify-content: center;

}

#navbarNav li:hover {
  border-bottom: solid 2px var(--btn3-card-color);

}

/***for rejestration page */



.nav-tabs .nav-link.active {
  background-color: var(--btn3-card-color);
  color: #fff;
  border: 3px solid var(--btn3-card-color);
}

.nav-tabs .nav-link {
  background-color: #fff;

  color: var(--btn3-card-color);

}

.nav-tabs .nav-link:hover {
  border: 3px solid var(--btn3-card-color);
}

.nav-tabs {
  border-bottom: 1px solid var(--btn3-card-color);

}

.tab-content {
  border: 1px solid var(--btn3-card-color);
  padding: 10px;
}

th {
  color: var(--btn3-card-color);

}

/*search style*/
/* style of botton submit */
.btn {
  font-weight: 600;
  background: rgb(255, 255, 255);
  color: var(--btn3-card-color);
  border-radius: solid .5rem var(--btn3-card-color) !important;
  border-bottom: 2px solid var(--btn3-card-color);
  border-right: 2px solid var(--btn3-card-color);
  border-top: 2px solid white;
  border-left: 2px solid white;
  transition-duration: 1s;
  margin-bottom: 12PX;
  transition-property: border-top,
    border-left,
    border-bottom,
    border-right,
    box-shadow;
}

.btn:hover {
  color: var(--btn3-card-color);
  border-top: 2px solid var(--btn3-card-color);
  border-left: 2px solid var(--btn3-card-color);

  box-shadow: rgba(44, 42, 43, 0.4) 5px 5px, rgba(66, 62, 65, 0.3) 10px 10px, rgba(97, 84, 92, 0.2) 15px 15px;
}

.btn-send {
  padding-top: 10px;
  justify-content: center;


}

/*style of botton in enter information*/
.button {
  font-family: inherit;
  display: inline-block;
  width: 9em;
  height: 2.6em;
  line-height: 0.5em;
  margin: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--btn3-card-color);
  transition: color .5s;
  z-index: 1;
  font-size: 17px !important;
  border-radius: 6px !important;
  font-weight: 600;
  color: var(--btn3-card-color) !important;
  background-color: #fff !important;
  text-decoration: none;
}


@media(max-width:768px) {
  .button {
    margin-top: 80px;
  }
}

.links {
  text-align: center;
  text-decoration: none;
  --color: var(--btn3-card-color);
  font-family: inherit;
  display: inline-block;
  width: 8em;
  height: 2.6em;
  line-height: 2.5em;
  margin: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color);
  transition: color .5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--btn3-card-color);
  text-decoration: none;
}

a {
  text-decoration: none;
  color: var(--btn3-card-color);
}


.deleteBtn {

  font-family: inherit;
  display: inline-block;
  width: 8em;
  height: 2.6em;
  line-height: 2.5em;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color);
  transition: color .5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--color);
}

.button:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--btn3-card-color) !important;
  height: 150px;
  width: 200px;
  border-radius: 50%;

}

.button:hover {
  color: var(--btn1-card-color) !important;
  background-color: var(--btn3-card-color);
}


.button:before {
  top: 100%;
  left: 100%;
  transition: all .7s;
}

.button:hover:before {
  top: -30px;
  left: -30px;
}

.button:active:before {
  background: var(--btn3-card-color);
  transition: background 0s;
}

.links:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color) !important;
  height: 150px;
  width: 200px;
  border-radius: 50%;

}

.links:hover {
  color: var(--font-color);
}

.links:before {
  top: 100%;
  left: 100%;
  transition: all .7s;
}

.links:hover:before {
  top: -30px;
  left: -30px;
}

.links:active:before {
  background: var(--btn3-card-color);
  transition: background 0s;
}

/* style index page */
.card {
  width: 252px;
  height: 265px;
  background: white;
  border-radius: 30px;
  box-shadow: 15px 15px 30px #bebebe,
    -15px -15px 30px #ffffff;
  transition: 0.2s ease-in-out;
  text-align: right !important;
}

.img {
  width: 100%;
  height: 50%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  background: linear-gradient(var(--btn3-card-color), var(--btn4-card-color));
  display: flex;
  align-items: top;
  justify-content: right;
}

.save {
  transition: 0.2s ease-in-out;
  border-radius: 10px;
  margin: 20px;
  width: 30px;
  height: 30px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text {
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: space-around;
}

.save .svg {
  transition: 0.2s ease-in-out;
  width: 15px;
  height: 15px;
}

.icon-box {
  margin-top: 15px;
  width: 70%;
  padding: 10px;
  background-color: #e3fff9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: left;
}

.icon-box svg {
  width: 17px;
}

.text .h3 {
  font-family: 'Lucida Sans' sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: black;
}

.text .p {
  font-family: 'Lucida Sans' sans-serif;
  color: #999999;
  font-size: 13px;
}

.icon-box .span {
  margin-left: 10px;
  font-family: 'Lucida Sans' sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #9198e5;
}

.card:hover {
  cursor: pointer;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);

}

.save:hover {
  transform: scale(1.1) rotate(10deg);
}

.save:hover .svg {
  fill: #ced8de;
}

.btn-edit {
  text-align: center;
  width: 50px;
  height: 50px;
  padding: 5px;
  border: solid 2px var(--btn3-card-color);
  border-radius: 12px;
  color: var(--btn3-card-color);
}

.btn-edit:hover {
  background-color: var(--btn3-card-color);
  color: var(--font-color);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

/* style of advertisement*/
@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");

:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);

}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}



.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 2024px;
  margin: 0 auto;
  text-align: right;
  right: 0;
  float: right;

}

@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  height: 100%;
  width: 100%;
  float: right;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
  text-align: right !important;

}


@media (min-width: 600px) {
  .card {
    height: 100%;
    width: 100%;


  }
}

.card:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 0 0;
  -webkit-transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e), -webkit-transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}

.card:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(11.7%, rgba(0, 0, 0, 0.009)), color-stop(22.1%, rgba(0, 0, 0, 0.034)), color-stop(31.2%, rgba(0, 0, 0, 0.072)), color-stop(39.4%, rgba(0, 0, 0, 0.123)), color-stop(46.6%, rgba(0, 0, 0, 0.182)), color-stop(53.1%, rgba(0, 0, 0, 0.249)), color-stop(58.9%, rgba(0, 0, 0, 0.32)), color-stop(64.3%, rgba(0, 0, 0, 0.394)), color-stop(69.3%, rgba(0, 0, 0, 0.468)), color-stop(74.1%, rgba(0, 0, 0, 0.54)), color-stop(78.8%, rgba(0, 0, 0, 0.607)), color-stop(83.6%, rgba(0, 0, 0, 0.668)), color-stop(88.7%, rgba(0, 0, 0, 0.721)), color-stop(94.1%, rgba(0, 0, 0, 0.762)), to(rgba(0, 0, 0, 0.79)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e), -webkit-transform calc(var(--d) * 2) var(--e);
}


.content {

  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: right;
  align-items: right;
  width: 100%;

  padding: 1rem;
  -webkit-transition: -webkit-transform var(--d) var(--e);
  transition: -webkit-transform var(--d) var(--e);
  transition: transform var(--d) var(--e);
  transition: transform var(--d) var(--e), -webkit-transform var(--d) var(--e);
  z-index: 1;
  text-align: right !important;

  justify-content: right;
}

.content>*+* {
  margin-top: 1rem;
  text-align: right;
  float: right;
  right: 0;
}

.title {

  text-align: right;
  font-size: 1.3rem;
  font-weight: 600;
  ;
  line-height: 1.2;
  text-align: right;
}

.copy {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

.btn {
  cursor: pointer;
  margin-top: 1.5rem;

  font-size: 0.65rem;
  font-weight: 600;
  ;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  color: white;
  background-color: white;
  border: solid 2px var(--btn3-card-color);
}



.btn:focus {
  outline: 1px dashed yellow;
  outline-offset: 3px;
}

@media (hover: hover) and (min-width: 600px) {
  .card:after {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .content {
    -webkit-transform: translateY(calc(100% - 4.5rem));
    transform: translateY(calc(100% - 4.5rem));
  }

  .content>*:not(.title) {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
    -webkit-transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
  }

  .card:hover,
  .card:focus-within {
    -webkit-box-align: right;
    align-items: right;
  }

  .card:hover:before,
  .card:focus-within:before {
    -webkit-transform: translateY(-4%);
    transform: translateY(-4%);
  }

  .card:hover:after,
  .card:focus-within:after {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .card:hover .content,
  .card:focus-within .content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .card:hover .content>*:not(.title),
  .card:focus-within .content>*:not(.title) {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: calc(var(--d) / 8);
    transition-delay: calc(var(--d) / 8);
  }

  .card:focus-within:before,
  .card:focus-within:after,
  .card:focus-within .content,
  .card:focus-within .content>*:not(.title) {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
  }
}


/*style of details advertisment page*/

/* style of hide button */
#hide {
  display: none;
}

/*stylr in page generateform of button actoin*/
.action {
  margin-top: 15px;
  --color: var(--btn3-card-color) !important;
  font-family: inherit;
  display: inline-block;
  width: 8em;
  height: 2.6em;
  line-height: 0.5em;
  margin: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--btn3-card-color);
  transition: color .5s;
  z-index: 1;
  font-size: 17px !important;
  border-radius: 6px !important;
  font-weight: 600;
  color: var(--btn3-card-color) !important;
  /* background-color: #40128B !important; */
  text-decoration: none;

}


.action:before {
  content: "";
  position: absolute;
  z-index: -1;
  color: var(--btn3-card-color);
  height: 150px;
  width: 200px;
  border-radius: 50%;

}

.action:hover {
  color: var(--font-color) !important;
  background-color: var(--btn3-card-color);
}


.action:before {
  top: 100%;
  left: 100%;
  transition: all .7s;
}

.action:hover:before {
  top: -30px;
  left: -30px;
  color: var(--btn3-card-color);
}

.action:active:before {
  background: var(--btn3-card-color) !important;
  transition: background 0s;
}

/*end*/
/* style of eareatext*/
textarea {

  resize: none;

}

/*style of Edit_form*/
.Edit_form {
  border-radius: 50px;
  border: solid 1px var(--btn3-card-color);

}

/**/
.img_photo_up {

  display: flex;
  flex-wrap: wrap;

  justify-content: center;

}

.img_photo_up img {
  width: 100px;
  height: 100px;
  margin: 10px;

}